package com.vf.admin.miaodong.entity;


import com.vf.admin.common.db.annotation.Column;
import com.vf.admin.common.db.annotation.Table;
import lombok.Data;

import java.io.Serializable;

/**
 * 后台支付设置
 */
@Table(name = "app_pay_setup")
@Data
public class AppPaySetup implements Serializable {
    private static final long serialVersionUID = 1L;

    @Column(name = "id", index = true)
    private Integer id;

    //应用ID
    @Column(name = "appId")
    private String appId;

    //开发者私钥
    @Column(name = "app_private_key")
    private String appPrivateKey;

    // 支付宝公钥
    @Column(name = "alipay_public_key")
    private String alipayPublicKey;

    //异步回调地址
    @Column(name = "notify_url")
    private String notifyUrl;

    //支付成功回调地址
    @Column(name = "return_url")
    private String returnUrl;

    //支付退出回调地址
    @Column(name = "quit_url")
    private String quitUrl;

    //vip支付回调地址
    @Column(name = "notify_vip_url")
    private String notifyVipUrl;

    //状态 ：1表示未启用 2表示启用
    @Column(name = "status")
    private String status;

    //支付类型    1支付宝  2 微信
    @Column(name = "pay_type")
    private Integer payType;

    //vip支付成功回调地址
    @Column(name = "vip_return_url")
    private String vipReturnUrl;

    //支付退出回调地址
    @Column(name = "vip_quit_url")
    private String vipQuitUrl;


}
